Optimal. Leaf size=287 \[ \frac{\tan ^{-1}\left (\frac{x \sqrt{\frac{a d}{b}+\frac{4 b}{a}}}{\sqrt{d x^4+4}}\right )}{2 a \sqrt{\frac{a d}{b}+\frac{4 b}{a}}}-\frac{\sqrt [4]{d} \left (\sqrt{d} x^2+2\right ) \sqrt{\frac{d x^4+4}{\left (\sqrt{d} x^2+2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{d} x}{\sqrt{2}}\right )|\frac{1}{2}\right )}{2 \sqrt{2} \sqrt{d x^4+4} \left (2 b-a \sqrt{d}\right )}+\frac{\left (\sqrt{d} x^2+2\right ) \sqrt{\frac{d x^4+4}{\left (\sqrt{d} x^2+2\right )^2}} \left (a \sqrt{d}+2 b\right ) \Pi \left (-\frac{\left (2 b-a \sqrt{d}\right )^2}{8 a b \sqrt{d}};2 \tan ^{-1}\left (\frac{\sqrt [4]{d} x}{\sqrt{2}}\right )|\frac{1}{2}\right )}{4 \sqrt{2} a \sqrt [4]{d} \sqrt{d x^4+4} \left (2 b-a \sqrt{d}\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.289906, antiderivative size = 287, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095 \[ \frac{\tan ^{-1}\left (\frac{x \sqrt{\frac{a d}{b}+\frac{4 b}{a}}}{\sqrt{d x^4+4}}\right )}{2 a \sqrt{\frac{a d}{b}+\frac{4 b}{a}}}-\frac{\sqrt [4]{d} \left (\sqrt{d} x^2+2\right ) \sqrt{\frac{d x^4+4}{\left (\sqrt{d} x^2+2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{d} x}{\sqrt{2}}\right )|\frac{1}{2}\right )}{2 \sqrt{2} \sqrt{d x^4+4} \left (2 b-a \sqrt{d}\right )}+\frac{\left (\sqrt{d} x^2+2\right ) \sqrt{\frac{d x^4+4}{\left (\sqrt{d} x^2+2\right )^2}} \left (a \sqrt{d}+2 b\right ) \Pi \left (-\frac{\left (2 b-a \sqrt{d}\right )^2}{8 a b \sqrt{d}};2 \tan ^{-1}\left (\frac{\sqrt [4]{d} x}{\sqrt{2}}\right )|\frac{1}{2}\right )}{4 \sqrt{2} a \sqrt [4]{d} \sqrt{d x^4+4} \left (2 b-a \sqrt{d}\right )} \]
Antiderivative was successfully verified.
[In] Int[1/((a + b*x^2)*Sqrt[4 + d*x^4]),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 18.6951, size = 253, normalized size = 0.88 \[ - \frac{\sqrt{2} \sqrt [4]{d} \sqrt{\frac{d x^{4} + 4}{\left (\frac{\sqrt{d} x^{2}}{2} + 1\right )^{2}}} \left (\frac{\sqrt{d} x^{2}}{2} + 1\right ) F\left (2 \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt [4]{d} x}{2} \right )}\middle | \frac{1}{2}\right )}{4 \left (- a \sqrt{d} + 2 b\right ) \sqrt{d x^{4} + 4}} + \frac{\operatorname{atan}{\left (\frac{x \sqrt{\frac{a d}{b} + \frac{4 b}{a}}}{\sqrt{d x^{4} + 4}} \right )}}{2 a \sqrt{\frac{a d}{b} + \frac{4 b}{a}}} + \frac{\sqrt{2} \sqrt{\frac{d x^{4} + 4}{\left (\frac{\sqrt{d} x^{2}}{2} + 1\right )^{2}}} \left (a \sqrt{d} + 2 b\right ) \left (\frac{\sqrt{d} x^{2}}{2} + 1\right ) \Pi \left (- \frac{\left (- \frac{a \sqrt{d}}{2} + b\right )^{2}}{2 a b \sqrt{d}}; 2 \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt [4]{d} x}{2} \right )}\middle | \frac{1}{2}\right )}{8 a \sqrt [4]{d} \left (- a \sqrt{d} + 2 b\right ) \sqrt{d x^{4} + 4}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(b*x**2+a)/(d*x**4+4)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.0634357, size = 65, normalized size = 0.23 \[ -\frac{i \Pi \left (-\frac{2 i b}{a \sqrt{d}};\left .i \sinh ^{-1}\left (\frac{\sqrt{i \sqrt{d}} x}{\sqrt{2}}\right )\right |-1\right )}{\sqrt{2} a \sqrt{i \sqrt{d}}} \]
Antiderivative was successfully verified.
[In] Integrate[1/((a + b*x^2)*Sqrt[4 + d*x^4]),x]
[Out]
_______________________________________________________________________________________
Maple [C] time = 0.033, size = 86, normalized size = 0.3 \[{\frac{1}{a}\sqrt{1-{\frac{i}{2}}\sqrt{d}{x}^{2}}\sqrt{1+{\frac{i}{2}}\sqrt{d}{x}^{2}}{\it EllipticPi} \left ( \sqrt{{\frac{i}{2}}\sqrt{d}}x,{\frac{2\,ib}{a}{\frac{1}{\sqrt{d}}}},{1\sqrt{-{\frac{i}{2}}\sqrt{d}}{\frac{1}{\sqrt{{\frac{i}{2}}\sqrt{d}}}}} \right ){\frac{1}{\sqrt{{\frac{i}{2}}\sqrt{d}}}}{\frac{1}{\sqrt{d{x}^{4}+4}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(b*x^2+a)/(d*x^4+4)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{\sqrt{d x^{4} + 4}{\left (b x^{2} + a\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(d*x^4 + 4)*(b*x^2 + a)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{1}{\sqrt{d x^{4} + 4}{\left (b x^{2} + a\right )}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(d*x^4 + 4)*(b*x^2 + a)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{\left (a + b x^{2}\right ) \sqrt{d x^{4} + 4}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(b*x**2+a)/(d*x**4+4)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{\sqrt{d x^{4} + 4}{\left (b x^{2} + a\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(sqrt(d*x^4 + 4)*(b*x^2 + a)),x, algorithm="giac")
[Out]